<script type="text/javascript" src="{$_config[siteurl]}include/javascript/favorite.js"></script>
<script type="text/javascript">
var mymap = 'viewmap_big';
</script>
<div id="center">
    <div id="viewmap_big" class="rail-border-3"></div> 
</div>
<script type="text/javascript" language="javascript" src=" http://api.51ditu.com/js/maps.js"></script>
<script type="text/javascript" language="javascript">
var maps = new LTMaps( mymap ); 

var point = new LTPoint( '$shop[mappoint][0]', '$shop[mappoint][1]' );
var shop = '$shop[shopname]';
var control = new LTStandMapControl();


maps.addControl( control );
if( point ) {
	maps.centerAndZoom( point, 0 );
	var marker = new LTMarker( point );
	maps.addOverLay( marker );

    var maptxt = new LTMapText( point );
    maptxt.setLabel( shop );
    maps.addOverLay( maptxt );

} else {
    var point = new LTPoint($_default_mappoint[0], $_default_mappoint[1]);
	maps.cityNameAndZoom( point , 3 ); 

}
</script>
